package com.learn.spring5.bean;

import java.util.List;

//部门类
public class Dept
{
	private String dname;

	//
	private List<Emp> emps;

	public void setDname(String dname)
	{
		this.dname = dname;
	}

	@Override
	public String toString()
	{
		return "Dept [dname=" + dname + "]";
	}
	
}
